#!/bin/bash

# Exit on error
set -e

packages=(
    arb-util
    arb-avm-cpp
    arb-node-core
    arb-rpc-node
    arb-evm
)

cd packages
for i in "${packages[@]}"; do
    cd "$i"
    eval "$1"
    cd ..
done
